package com.block.db.mapper;

import com.block.db.entity.ProductProfitAddup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-08-30
 */
public interface ProductProfitAddupMapper extends BaseMapper<ProductProfitAddup> {

    ProductProfitAddup getEntityByProductIdAndDateInfo(@Param("productId") Long productId, @Param("nowDate")String nowDate);

    BigDecimal getReulstMap(String channelCode);

}
